using System;

namespace RBAC.Read.Api.Application.Dto.ERP.SalesManagement.H
{
    /// <summary>
    /// 发货通知单明细DTO
    /// </summary>
    public class DeliveryNoticeItemDto
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int SerialNumber { get; set; }

        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 发货通知单主表ID
        /// </summary>
        public long DeliveryNoticeId { get; set; }

        /// <summary>
        /// 物料ID
        /// </summary>
        public long MaterialId { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 主计量单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 发货数量
        /// </summary>
        public decimal Qty { get; set; }

        /// <summary>
        /// 包装数量
        /// </summary>
        public decimal PackageQty { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 操作 (用于前端显示)
        /// </summary>
        public string Operation { get; set; } = "查看 编辑 删除";
    }
} 